package com.demo.oauth2jFinalShiroClient.util;

public class ValueWithTTL<V> {
	private Long expireIn;	//过期时间(ms)System.currentTimeMillis()
	private V value;

	public ValueWithTTL() {
		super();
	}

	public ValueWithTTL(Long expireIn, V value) {
		this.expireIn = expireIn;
		this.value = value;
	}

	public long getExpireIn() {
		return expireIn;
	}

	public void setExpireIn(long expireIn) {
		this.expireIn = expireIn;
	}

	public V getValue() {
		return value;
	}

	public void setValue(V value) {
		this.value = value;
	}
}